/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const agreementRouter = {
  path: '/agreement',
  component: Layout,
  redirect: 'noredirect',
  name: 'agreement',
  meta: {
    title: '协议',
    icon: 'order-setting',
    roles: ['agreement']
  },
  children: [
    {
      path: 'payAgree',
      component: () => import('@/views/agreement/payAgree'),
      name: 'payAgree',
      meta: {title: '《商家会员等级升级服务协议》', icon: 'order-setting', roles: ['agreement:payAgree']}
    },
  ]
}
export default agreementRouter
